package com.bdjk.bdmw.InfoGath.common.dao;

import java.sql.ResultSet;
import java.util.List;

import com.bdjk.bdmw.InfoGath.exception.BusinessException;

public interface IJdbcDAO {
	/**
	 * @param sql
	 * @param params
	 * @return 0 执行成功， 1执行失败
	 * @throws BusinessException
	 */
	public int executeSQL(String sql, List<Object> params)
			throws BusinessException;

	public List<Object> executeResultSQL(String sql, List<Object> params)
			throws BusinessException;
}
